# -*- coding: utf8 -*-
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# 查询数据失败。
FAILEDOPERATION_QUERYDATA = 'FailedOperation.QueryData'

# RPC服务调用失败。
FAILEDOPERATION_RPCSERVICECALLFAILED = 'FailedOperation.RPCServiceCallFailed'

# 内部错误。
INTERNALERROR = 'InternalError'

# 内部错误，数据库异常。
INTERNALERROR_DATABASEEXCEPTION = 'InternalError.DatabaseException'

# 数据库查询失败。
INTERNALERROR_DATABASEQUERYFAILED = 'InternalError.DatabaseQueryFailed'

# 内部未知错误。
INTERNALERROR_UNKNOWN = 'InternalError.Unknown'

# 参数错误：规则相关字段传参或者字段内容错误
INVALIDPARAMETER_AUTORULEPARAMETERERROR = 'InvalidParameter.AutoRuleParameterError'

# 数据库错误
INVALIDPARAMETER_DATABASEEXCEPTION = 'InvalidParameter.DatabaseException'

# 重复的终端自定义分组名称。
INVALIDPARAMETER_DUPLICATEDEVICEVIRTUALGROUPNAME = 'InvalidParameter.DuplicateDeviceVirtualGroupName'

# 黑白名单选中有相同的终端设备
INVALIDPARAMETER_DUPLICATEIDINBLACKWHITELIST = 'InvalidParameter.DuplicateIdInBlackWhiteList'

# 参数错误有重复数据。
INVALIDPARAMETER_IDENTICALNAME = 'InvalidParameter.IdenticalName'

# 请求参数错误。
INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'

# 请求参数错误。
INVALIDPARAMETER_REQUESTPARAM = 'InvalidParameter.RequestParam'

# 没有找到对应的终端自定义分组
INVALIDPARAMETERVALUE_VIRTUALDEVICEGROUPNOTFOUND = 'InvalidParameterValue.VirtualDeviceGroupNotFound'

# 缺少公共参数。
MISSINGPARAMETER_COMMONPARAM = 'MissingParameter.CommonParam'

# 终端导出任务同一时间仅允许一个，请稍后再试。
REQUESTLIMITEXCEEDED_DEVICEDOWNLOADTASK = 'RequestLimitExceeded.DeviceDownloadTask'

# 上次操作还未完成，请稍后重试。
REQUESTLIMITEXCEEDED_WAITFORTHELASTOPERATIONTOCOMPLETE = 'RequestLimitExceeded.WaitForTheLastOperationToComplete'

# 资源不存在。
RESOURCENOTFOUND_NOTFOUND = 'ResourceNotFound.NotFound'

# 没有业务资源权限。
UNAUTHORIZEDOPERATION_NORESOURCEPERMISSIONS = 'UnauthorizedOperation.NoResourcePermissions'

# 未授权的操作。
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = 'UnauthorizedOperation.PermissionDenied'
